﻿<!doctype html>
<html>

<head>
    <title>沙雕数独解析</title>
    <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=0.5, maximum-scale=2.0, user-scalable=yes" />
    <link rel="stylesheet" type="text/css" href="CSS.css" />
</head>

<body>

    <p class="helpinfo">
        非常<span>低效率</span>的数独游戏自动计算程序。<span>使用方法：</span>先输入已知的数字，然后点击计算就可以了。对于比较复杂的数独，可能花费的时间<span>非常长</span>（在范围4参数下，大概半分钟）。而且！可能<span>计算失败</span>。当失败以后，可以在左下角输入一个更大的值再进行计算（增加1或者2，不能太大，否则将<span>非常耗时</span>）。
        可以先保存局面，防止输入错误。
    </p>
    
    <div id="box">
        <div id="table">
            <div class="row0"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row1"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row2"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row3"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row4"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row5"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row6"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row7"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
            <div class="row8"><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><span></span></div>
        </div>

        <div id="bt-list">

            <span>
                <span>范围</span>
                <input id="getRange" value="4" type="text" />
            </span>
            
            <button id="gogogo">开始计算</button>

            <span>
                <span>模版名</span>
                <input value="0" type="text" id="fileId" />
            </span>

            <button id="onload">读取模版</button>
            <button id="onloadAndSaveTemplate">保存模版</button>
            <button id="clearTable">清空</button>
    
        </div>
    </div>
    
    <script src="Js-test.js"></script>

</body>

</html>